package stool.mediator;

/**
 * @Author Felix YF Dong
 * @Date 2021/5/14
 */
public class UnitedNationSecurityCouncil extends UnitedNations{

    private USA usa;

    private Iraq iraq;

    @Override
    public void declare(String msg, Country country) {

        if (usa == country) {
            iraq.getMsg(msg);
        } else {
            usa.getMsg(msg);
        }
    }

    public USA getUsa() {
        return usa;
    }

    public void setUsa(USA usa) {
        this.usa = usa;
    }

    public Iraq getIraq() {
        return iraq;
    }

    public void setIraq(Iraq iraq) {
        this.iraq = iraq;
    }
}
